package router

import (
	"github.com/gin-gonic/gin"
	"two_exam/internal/api"
)

func UserRouter(r *gin.RouterGroup) {

	r.POST("/add", api.AddUser)
	r.GET("/list", api.UserList)
	r.POST("/addFriend", api.UserFriendAdd)
}
